package com.wyix.entity;

/**
 * 自定义宠物类（用于演示泛型存储对象）
 *
 * @author wangdx
 * @since 2025/8/5
 */
public class Pet {
    private String name;

    public Pet(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "魔法宠物「" + name + "」";
    }
}
